/*
** Copyright (C) 2009 Joshua Brent Marsh <joshua@icub3d.com>
**  
** This program is free software; you can redistribute it and/or modify
** it under the terms of the GNU General Public License as published by
** the Free Software Foundation; either version 3 of the License, or
** (at your option) any later version.
**  
** This program is distributed in the hope that it will be useful,
** but WITHOUT ANY WARRANTY; without even the implied warranty of
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
** GNU General Public License for more details.
**  
** You should have received a copy of the GNU General Public License
** along with this program; if not, write to the Free Software
** Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
**  
*/

/* $Id$ */

#ifndef TEST_TREE_H
#define TEST_TREE_H 1

#ifdef HAVE_CONFIG_H
#include <config.h>
#endif

#include <CUnit/Basic.h>

int init_test_tree_suite ();
int clean_test_tree_suite ();

void test_tree_node_create ();
void test_tree_node_add_child ();
void test_tree_node_remove_child ();
void test_tree_node_children ();
void test_tree_node_clear_children ();
void test_tree_node_find_root ();
void test_tree_node_height ();
void test_tree_node_depth ();
void test_tree_node_descendants ();
void test_tree_node_destroy ();

void test_tree_node_destroy ();

int make_tree_suite (CU_pSuite s);

#endif /* TEST_TREE_H */
